home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / demos / citydemo / makefile < prev    next >
Makefile  |  1997-05-08  |  849b  |  37 lines

  1. include <dvwin32.mak>
  2.  
  3. # Comment out the next line to disable double buffering.
  4. CFLAGS = $(CFLAGS) -DDOUBLE_BUFFER
  5.  
  6.  
  7. CITYOBJ = c4i_data.obj    c4i_dsp.obj      c4i_dyn.obj      \
  8.           c4i_events.obj  c4i_main.obj     c4i_model.obj     \
  9.           c4i_olays.obj   c4i_popups.obj   c4i_rebind.obj     \
  10.           c4i_utils.obj   c4i_vars.obj     c4i_wins.obj     \
  11.           c4i_zoom.obj 
  12.  
  13. RESSRC  = city.rc
  14. !IF "$(CPU)"=="ALPHA"
  15. RESOURCE_OBJS = cityr.obj
  16. !ELSE
  17. RESOURCE_OBJS = city.res
  18. !ENDIF
  19.  
  20.  
  21. citydemo.exe: $(CITYOBJ) $(RESOURCE_OBJS)
  22.     $(LINK)  $(LINKFLAGS) \
  23.         $(DV_LIBS) \
  24.         $(CITYOBJ) $(RESOURCE_OBJS) -out:citydemo.exe
  25.  
  26. .c.obj:
  27.     $(CC) $(INCDIRS) $(CFLAGS) $<
  28.  
  29. city.res: $(RESSRC)
  30.         rc -r $(RESSRC)
  31.  
  32. cityr.obj : $(RESSRC)
  33.         rc -r city.rc
  34.                 cvtres -alpha city.res -o cityr.obj
  35.  
  36.  
  37.